package com.estate.service.feign;

import com.estate.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("estate-owner")
public interface OwnerFeign {
    @GetMapping("/owner/list/{ownerId}")
    JsonResult find(@PathVariable("ownerId") String ownerId);
}
